package com.crm.dao.mapper.customMapper.contactManagerCustomMapper;

import com.crm.model.entity.contactManager.ContactInformation;
import com.crm.model.vo.contactManager.ContactInformationVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ Author ：pym
 * @ Date   ：2021/7/1 17:59
 */
public interface ContactInformationCustomMapper {

    /**
     * 呼叫中心根据手机号和账号Id查询联系人
     * @Author pym
     * @Date  2021/7/1 18:28
     * @param contactInformation 联系方式
     * @param accountId 账号Id
     * @return {@link {java.util.List<com.crm.model.vo.contactManager.ContactInformationVO>}}
     */
    List<ContactInformationVO> selectContactInformationList(@Param("contactInformation") String contactInformation, @Param("accountId") String accountId);

    List<ContactInformationVO> getCustomerIdAndContactInformation(@Param("customerId") String customerId,@Param("contactInformation") String contactInformation);
}
